﻿using SS.Common.DBBuilder.DBDataStructure;
using SS.Net.AppGen.Generators;

namespace SS.Net.AppGen.Generatings
{
    /// <summary>
    /// The abstract class for generating
    /// </summary>
    public abstract class BaseGenerating: IGenerating
    {
        /// <summary>
        /// Data source for generating
        /// </summary>
        public DataBase DB { get; set; }

        /// <summary>
        /// Interface of Generator
        /// </summary>
        public IGenerator Generator { get; set; }

        /// <summary>
        /// This method will be overrided by concrete implementors
        /// </summary>
        public abstract void RequestToGenerate();
    }
}
